<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Registro</title>
        <?php
        include_once('head.php');
        ?>
    </head>
    <body>

        <?php

        include_once('cabecera.php');

        ?>

        <div id="formatoGlobal">

            <?php if(isset($_COOKIE['errorRegistro'])){
                echo '<div id="formatoError">';
                echo "Error: " . $_COOKIE['errorRegistro'];
                setcookie("errorRegistro", "", time()-3600);
                echo '</div>';
            }?>
 
            <div id="tituloSeccion">Luxar - Registro</div>

            <form action="tratarRegistro.php" method="post">
                <div id="text1">Usuario</div><input name="usuario" value="" type="text"> <br />
                <div id="text1">Contraseña</div> <input name="password1" value="" type="password"> <br />
                <div id="text1">Confirmar contraseña</div> <input name="password2" value="" type="password"> <br />
                <div id="text1">Email</div> <input name="email" value="" type="text"> <br />
                <div id="submit"><input name="enviar" value="Registrar" type="submit"> <input name="borrar" value="Borrar" type="reset"></div>
            </form>
        </div>

        <?php

        include_once('piePagina.php');

        ?>

    </body>
</html>
